package com.example.malltest.product.mapper;


import com.example.malltest.product.entity.Product;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;


@Mapper
public interface ProductMapper {

    List<Product> getList();

    Product getById(Integer id);

    int save(Product product);

    int delete(Integer id);

    int edit(Product product);
}
